#include "widget.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

//    QString style;
//    style += ".QWidget { color: red; }";
//    style += "QPushButton { color: red; font-size: 50px; }";
//    style += "#pushButton_2 { color: green; }";
//    style += "#pushButton_2, QLineEdit, QLabel { color: red; }";
//    a.setStyleSheet(style);

//    QString style = "QComboBox::down-arrow { image: url(:/icon/down.png); }";
//    style += "QProgressBar::chunk { background-color: red; }";
//    a.setStyleSheet(style);

    QString style = "QPushButton { font-size: 50px; }";
    style += "QPushButton:hover { color: red; }";
    style += "QPushButton:pressed { color: blue; }";
    a.setStyleSheet(style);

    Widget w;
    w.show();
    return a.exec();
}
